//
//  Car.h
//  ocDay1_类和对象
//
//  Created by dllo on 16/5/20.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Car : NSObject
{
    @public
    NSString *_name;
    NSInteger _number;
    NSString *_color;
}

-(void)myCarInput;
-(void)myCarPrint;
-(void)myCarInputWithName:(NSString *)name withNumer:(NSInteger)number withColor:(NSString *)color;
-(void)setName:(NSString *)name;
-(NSString *)name;
-(void)setNumber:(NSInteger)number;
-(NSInteger)number;
-(void)setColor:(NSString *)color;
-(NSString *)color;

@end
